package com.isunland.managesystem.entity;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: wangyanan
 * 创建时间: 2017/4/18 13:28
 */
public class WorkAreaSearchParams extends BaseParams {
  /** 是否在适配器中显示选择按钮,在作业任务中需要选择地块 */
  private boolean isShowSelect;
  /** 作业任务ID */
  private String workId;
  /** 工作类型编码 */
  private String worktype;
  /** 是否带拼接字段,如果是作业任务的时候传true, */
  private boolean ifWork;
  private String longItude;
  private String latItude;

  public void setLatItude(String latItude) {
    this.latItude = latItude;
  }

  public void setLongItude(String longItude) {
    this.longItude = longItude;
  }

  public String getWorkId() {
    return workId;
  }

  public void setWorkId(String workId) {
    this.workId = workId;
  }

  public String getWorktype() {
    return worktype;
  }

  public void setWorktype(String worktype) {
    this.worktype = worktype;
  }

  public boolean isIfWork() {
    return ifWork;
  }

  public void setIfWork(boolean ifWork) {
    this.ifWork = ifWork;
  }

  public boolean isShowSelect() {
    return isShowSelect;
  }

  public void setShowSelect(boolean showSelect) {
    this.isShowSelect = showSelect;
  }

  public String getLongItude() {
    return ifWork ? longItude : "";
  }

  public String getLatItude() {
    return ifWork ? latItude : "";
  }
}
